{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<h1 align=\"center\", style=\"color:green\">Matplotlib Tutorial: Bar Chart</h1>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "%matplotlib inline\n",
    "import matplotlib.pyplot as plt\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<h3>Simple bar chart showing revenues of major US tech companies</h3>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "company=['GOOGL','AMZN','MSFT','FB']\n",
    "revenue=[90,136,89,27]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([0, 1, 2, 3])"
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "xpos = np.arange(len(company))\n",
    "xpos"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.legend.Legend at 0x1fdce45b240>"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEICAYAAABF82P+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAHkBJREFUeJzt3Xm8VWW9x/HPN1DQUFE4mjJ40Lil\nqCievHqzmzmbptZFw4qoUKzo2nCdtavZcC01zSJzIgkHJCyltJwatMEBjJwoQTnaYZBBRVBUwN/9\nYz0HttsF5+zD2Wftw/m+X6/92ms9zxp+e3HY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d5PKKn7LVl3yQnA\nzeUrSuoHXA58IiJez9n2d4DT6AJ/66lVUE92rO4oq7sT2Am4Gngv8DdJzWPxPB0Re6bX2A4MubNY\nUXJ8PlpSfn8qGwD8FPheQfFVzUb/n6ZKngDW/MpN/6kOAupSXfn4LHsDT6bpJ9N8qWGpfDYwMJ13\nICJ+mvo+l5LdOLjRkdSHrMvumtTffRpZV5IA0qi+08nOw9xStq7IuucujIgnyRERs4EZwPFV+gi1\nZipwMW/tXgIgIl6IiBsjYiTZqAX/2dHBbcSmshEeTyeItvkd0FPSF0rKNk/v44DPSNoT1nwBfpe1\nvy6+B3w3lZOW+wzw44h4FbgW+FHqJmh+Rsam1f04hRoO/CwidoyI+vRrbA7ZOFzNLgHOiIglZeue\nCrwWES11i3w7LdsVjAcuiIjHSgslHZjOcZF+gOxM1jVi7WN/4Omig2hvXeXkXbuKiJB0LHCppNOB\nRWRXkZwREfMlfQq4Ov1HFHBZRPwqrTs1dYv8RVIAy4BPRcT8tPlzgG8Cj0taRnaidgJr+943l7Tm\nZCPw/Yj4fnU/cVWdAJRfPnkLcHbzTBpuJW/IlW8BTakfuNmLEfGh0oUi4glJj1DS6ttYRUQT2Qn7\ncnuT/fBYRfbD8JqIeDhdjWNt03wOQmSt/BMLjqfdeagNMzPL5S4mMzPL5QRhZma5nCDMzCyXE4SZ\nmeVygjAzs1xOEGZmlssJwszMcv0/oqVPT6K381UAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x1fdce3c2c18>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.bar(xpos,revenue, label=\"Revenue\")\n",
    "\n",
    "plt.xticks(xpos,company)\n",
    "plt.ylabel(\"Revenue(Bln)\")\n",
    "plt.title('US Technology Stocks')\n",
    "plt.legend()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<h3>Multiple Bars showing revenue and profit of major US tech companies</h3>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "profit=[40,2,34,12]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.legend.Legend at 0x1fdce4ba668>"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEICAYAAABF82P+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAIABJREFUeJzt3XucVVXdx/HP9wEUFRTTUZFxHDQr\nLyjiVFqal/KWeKkHDTOjQtGix7JHRLPUfLpYahrmJRULb6BhqZXmXdMsBZRMpQJ10kGJi4qgqIC/\n54+9Bo/jhpkzzJl9hvm+X6/zOnuvtS+/sxnO76y1915bEYGZmVlL/1V0AGZmVp2cIMzMLJcThJmZ\n5XKCMDOzXE4QZmaWywnCzMxyOUFYtyRpkqTvVGC7H5K0rKO3Wy0kzZG0e9FxWOdwgrAOJykkvb9F\n2ZmSrimZ/7akZyUtltQk6fqVbGtxyettSUtK5o+q9GfpKiTtJemvkhZKWiDpAUk7pbrjJd1VdIzW\n9fQsOgDrfiSNAI4GPhURT0vaDDgkb9mI6FOyXiNwTET4y66EpI2Am4GvAL8FegN7AkuLjMu6Prcg\nrAgfBm6PiKcBImJORFzWng1J6iHpu5KekTRf0rWS+pXUl/6yfk7S50tW31jS7ZIWSfqzpC3TOr1T\nK+hYSU9LelnS+S32+b20vf9IulJS35XEVyfpVkkvSfpXSo7NdX0kXSfpFUlPSDpV0qxU911J17bY\n1uWSzs7ZzbbAkoi4MSLejojXI+K2iHhK0s7ABcBeqdU1J23rfWnf81JL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"metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.bar(xpos-0.2,revenue, width=0.4, label=\"Revenue\")\n",
    "plt.bar(xpos+0.2,profit, width=0.4,label=\"Profit\")\n",
    "\n",
    "plt.xticks(xpos,company)\n",
    "plt.ylabel(\"Revenue(Bln)\")\n",
    "plt.title('US Technology Stocks')\n",
    "plt.legend()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<h3>Horizontal bar chart using barh function<h3>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.legend.Legend at 0x1fdcd2ad588>"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZoAAAEICAYAAABmqDIrAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAHB5JREFUeJzt3XuUFOW97vHvk8EABgUFNQQkg8YV\nFS+AJCuemBxDomhU1L2JBzVuE687i73NzQtezta4c7KI96h412i8ocFsNWqCxtwvKmCIYlBBGc2A\nBlAzgqAi/s4fVUPKcS7dM/NOT/c8n7V60VVvddWviul+5n2rploRgZmZWSofqHQBZmZW2xw0ZmaW\nlIPGzMySctCYmVlSDhozM0vKQWNmZkk5aMy6iaRZks5KsN4dJb3T3evtKZIGSApJIytdi1WGg8aq\nQv5B9bEW886RdEth+gxJSyWtkdQo6Y421rWm8HhX0rrC9JGp96U3kTRF0hOSXpe0UtJDzYEgaYak\n6ypdo1W/fpUuwKw7SDoaOAr4QkQ8J+nDwOTWlo2IQYXXNQDHRcQveqTQXkTSzsB1ZMfpd8BmwH7A\nu5Wsy2qPezRWKz4BzImI5wAi4uWIu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5c97fe2SJgPLIuIvLZo6VXtfDhq1Mq/XX+staRBwF/CNiHi90vWU\nQtKBwIqImF+c3cqivfH49wPGA1dGxDjgDXrhMFlr8vMZBwOjgY8AHyIb+mipNx73jlTLzw+SziQb\n+r61eVYri/Wa2iVtCpwJ/Fdrza3M67D2vhw0jcC2hemRwPIK1VISSZuQhcytEfGTfPbfm7uu+b8r\nKlVfOz4NTJbUQDZEOZGshzMkH9KB3nv8G4HGiHg0n55NFjzVcNy/ACyNiJURsR74CfC/qI7j3qyt\n41wV719JRwMHAkfGP/9osbfXvj3ZLyd/yd+zI4HHJX2YTtbel4NmLrBDfgXOB8lOzt1b4ZralJ/T\nuB5YFBEXFZruBY7Onx8N3NPTtXUkIk6PiJERUU92nH8ZEUcCvwKm5Iv11tpfBv4m6eP5rM8Df6UK\njjvZkNmnJG2a//w0197rj3tBW8f5XuDf8qugPgU0NQ+x9RaS9gNOAyZHxNpC073AVEn9JY0mO7H+\nWCVqbE1EPBkRW0dEff6ebQTG5++Fzh33iOizD+CLZFeDPAecWel6Oqh1L7Iu6hPAgvzxRbJzHQ8D\ni/N/t6x0rR3sx97Affnz7cjeYEuAHwP9K11fGzWPBeblx/5uYItqOe7Ad4CngYXAzUD/3nrcgdvJ\nziWtzz/cjm3rOJMN4czM37tPkl1Z19tqX0J2PqP5/XpVYfkz89qfAfbvbbW3aG8AhnXluPsWNGZm\nllRfHjozM7Me4KAxM7OkHDRmZpaUg8bMzJJy0JiZWVIOGjMzS8pBY2ZmSf1/cJ6w7UBhvaIAAAAA\nSUVORK5CYII=\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x1fdce46cbe0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.barh(xpos,revenue, label=\"Revenue\")\n",
    "\n",
    "plt.yticks(xpos,company)\n",
    "plt.ylabel(\"Revenue(Bln)\")\n",
    "plt.title('US Technolog Stocks')\n",
    "plt.legend()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
